home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / database / bltp18.zip / !HISTORY next >
Text File  |  1994-10-10  |  2KB  |  82 lines

  1. Bullet History
  2. --------------
  3. Misc. info at end.
  4.  
  5. ---------
  6. 10-Oct-94
  7. Issued 1.08a for PowerBasic 3.
  8. Bullet for PB3.
  9.  
  10. ---------
  11. 18-Aug-94
  12. Issued 1.10.
  13. Bullet for Windows.
  14.  
  15. --------------
  16. 11-Feb-94 (AJ)
  17. Issued 1.08a.
  18.  
  19. ReindexXB would fail with error 204 (empty file) on reindex attempt of a
  20. DBF with 0 physical records. This problem had been reported earlier but
  21. was overlooked.
  22.  
  23. --------------
  24. 04-Feb-94 (MG)
  25. Issued 1.08.
  26.  
  27. Bug in PackRecordsXB where, if all records in an internal buffer were marked
  28. as deleted, the file would be truncated at start of buffer's position. This
  29. caused a -3 error (UNEXPECTED EOF since the DBF file is both read and written
  30. to by Bullet).
  31. -------------------------------------------------------------
  32. For previous BULLET history see the !HISTORY file in the ZIP.
  33.  
  34. =========================
  35. Miscellaneous Info/Errata
  36. =========================
  37. 1. Error 240
  38. 2. Specifying a Binary Key Search Criterion
  39. 3. Enumerator word specification
  40.  
  41. ------------
  42. 1. Error 240
  43.  
  44. That fieldname descriptors must be 0-filled is not in the CZ docs of the
  45. DOS C version.  You must 0-fill the fieldList.fieldname members or an
  46. error 240 will be returned if you attempt to index on one of the fields.
  47. .fieldname is an 11-byte field (10 usuable characters with byte 11 always=0):
  48.  
  49.     :
  50.   fieldList[0].fieldname = "LASTN\0\0\0\0\0"; /* 5+5+\0=11 bytes */
  51.   fieldList[0].fieldtype = "C";
  52.     :
  53.  
  54. See GetDescriptorXB in the CZ doc file for more.
  55.  
  56. -------------------------------------------
  57. 2. Specifying a Binary Key Search Criterion
  58.  
  59. Use MKI$ or MKL$ to cast the binary value to a string.  For example:
  60.  
  61.     DIM SHARED keybuffer AS STRING * 64
  62.       :
  63.     AP.keyptrOff = VARPTR(keybuffer)
  64.     AP.keyptrSeg = VARSEG(keybuffer)
  65.     'then use MKL$ to set the buffer with string type, as in
  66.     keybuffer = MKL$(5&)
  67.  
  68. For C, the technique is the same.  For example:
  69.  
  70.     char keybuffer[64];
  71.       :
  72.     AP.keyptr = keybuffer;
  73.     *((long *)keybuffer) = 5L;
  74.       :
  75.  
  76. 3.  The enumerator word attached to non-unique keys is a two-byte word
  77.     in high byte/low byte order.  The first such key is 00/00, with any
  78.     following exact matches to that key as 00/01, and so on.  Each key
  79.     root would have have its own enumerator series, so ABC\0\0, BCD\0\0,
  80.     and so on.
  81. --
  82.